<<<<<<< HEAD
=======
// 设置title
>>>>>>> 8be26a278bb425fd6586c58ded6b6bb3573f4a6a
import defaultSettings from '@/settings'

const title = defaultSettings.title || 'Vue Admin Template'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
